package com.blockmeta.bbs.immodule.net.response;

import com.blockmeta.bbs.baselibrary.net.callback.BaseResponseCallBack;
import com.blockmeta.bbs.baselibrary.utils.ToastUtil;

/**
 * @author AirThor
 * @date 2019/3/18.
 */
public abstract class ConsumeFailRespone<T> implements BaseResponseCallBack<String,T> {
    @Override
    public void fail(String msg) {
        if (!"网络异常".equals(msg)){
            ToastUtil.show(msg);
        }
    }
}
